<style>
    #updAppForm table td.x85 {width:85px;text-align:right;}
</style>
<div class="bjui-pageContent">
    <form id="updAppForm" action="{:U('Admin/App/updApp')}" data-toggle="validate" data-alertmsg="false" enctype="multipart/form-data">
        <input type="hidden" name="appId" value="{$appInfo.id}" >
        <table class="table table-condensed table-hover" width="100%">
            <tbody>
                <tr>
                    <td class="x85">
                        <label for="name" class="control-label x85">应用名称：</label>
                    </td>
                    <td>
                        <input type="text" name="name" id="name" value="{$appInfo.name}" data-rule="required" size="20">
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for="version" class="control-label x85">版本号：</label>
                    </td>
                    <td>
                        <input type="text" name="version" id="version" value="{$appInfo.version}" size="20">
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for="file" class="control-label x85">应用文件：</label>
                    </td>
                    <td>
                        <input type="file" name="file" id="file" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for="status" class="control-label x85">状态：</label>
                    </td>
                    <td>
                        <notempty name="commonStatus">
                            <foreach name="commonStatus" item="vo" key="k">
                                <input type="radio" name="status" data-toggle="icheck" value="{$k}" data-label="{$vo}" <if condition="$k eq $appInfo['status']">checked="checked"</if>>
                                &nbsp;&nbsp;
                            </foreach>
                        </notempty>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="close">取消</button></li>
        <li><button type="submit" class="btn-default" data-icon="save">更新</button></li>
    </ul>
</div>